<?php
if(file_exists('code.pfx.lock')){
	reload_js('请先重命名code.pfx.lock后，再继续操作','index.php');
    exit();
}
?>

<link rel="stylesheet" href="images/style.css" type="text/css" media="all" />
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
.STYLE3 {
	color: #FF0000;
	font-size: 14px;
	font-weight: bold;
}

-->
</style>


<div class="container">
	<div class="header">
		<h1>风尚淘客 安装向导</h1>

		<span>官方 <a href="http://www.fengsh8.com" target="_blank">http://www.fengsh8.com</a></span>
		<span style="margin-right:40px"> 简体中文 UTF8 版 20101022</span>	
		<div class="setup step2">
		<h2>安装数据库</h2>
		<p>正在执行数据库安装</p>
	</div>
	<div class="stepstat">
		<ul>
			<li class="">1</li>

			<li class="current">2</li>
			<li class="unactivated">3</li>
			<li class="unactivated last">4</li>
		</ul>
		<div class="stepstatbg stepstat2"></div>
	</div>
</div>

<div class="main">
<form method="post" action="install.php?step=3" onsubmit="return checkform();">
  <div class="desc"><b>风尚淘宝客授权信息 ------------- 授你妹，直接过。</b> <br />
    填写您自助购买时或找回的授权码，<span class="STYLE1">授权码与授权证书要相对应</span>，否则无法安装！</div>
  <table width="508" class="tb2" style=" background-color:#FFFF99">
    <tr>
      <th height="30" class="tbopt"><div align="right">淘宝用户名:</div></th>
      <td align="center" valign="middle">
	  <input name="username" type="text" class="txt" id="username" size="35" />
	  </td>
      <td width="77" align="left" valign="middle">&nbsp;</td>
      <td width="77" align="left" valign="middle"><font color="red" style="float:right">*不用填</font></td>
    </tr>
    <tr>
      <th height="30" class="tbopt"><div align="right">AppSecret:</div></th>
      <td align="center" valign="middle"><input name="appSecret" type="text" class="txt" id="appSecret" value="" size="35" /></td>
      <td width="77" align="left" valign="middle">&nbsp;</td>
      <td width="77" align="left" valign="middle"><font color="red" style="float:right; line-height:13px;">*不用填</font></td>
    </tr>
  </table>
  <p>&nbsp;</p>
<table class="tb2">
<div class="desc"><b>填写数据库信息</b></div>
<tr>
<th width="128" class="tbopt">&nbsp;数据库主机:</th>
<td width="208"><input  disabled="disabled" name="servername" type="text" class="regtxt" id="servername" value="<?php echo $servername?>" size="30" /></td>
<td width="243">&nbsp;一般为localhost或IP:XX.XX.XX.XX</td>
</tr>

<tr><th class="tbopt">&nbsp;数据库名称:</th>
<td><input name="dbname"  disabled="disabled" type="text"  value="<?php echo $dbname?>" class="regtxt" id="dbname" size="30" /></td>
<td>请到数据库管理内查找</td>
</tr>

<tr><th class="tbopt">&nbsp;数据库用户:</th>
<td><input name="dbusername" type="text" disabled="disabled"  class="regtxt" id="dbusername" size="30" value="<?php echo $dbusername?>"/></td>
<td>同上</td>
</tr>

<tr><th class="tbopt">&nbsp;数据库密码:</th>
<td><input name="dbpsw" type="text"  id="dbpsw" disabled="disabled"  size="30" value="<?php echo $dbpsw?>"/></td>
<td id="jieguo" style="color:#F00"></td>
</tr>

<tr><th class="tbopt">&nbsp;数据表前缀:</th>
<td><input name="prefix" type="text" disabled="disabled"  id="prefix"  size="30" value="<?php echo $prefix?>" /></td>
<td>&nbsp;同一数据库运行多个网站时，请修改前缀</td>
</tr>
</table>
<input type="hidden" name="restall" value="<?php echo $_GET['restall']?>" />
<table width="508" class="tb2">
  <tr>
    <th align="center" valign="middle" class="tbopt">&nbsp;</th>
    <td align="center" valign="middle"><input type="button" onclick="history.back();" value="上一步">&nbsp;<input type="submit" value="下一步" class="btn" /></td>
    <td align="center" valign="middle">&nbsp;</td>
  </tr>
</table>
</form>
<div class="footer">风尚淘宝客 <a href="http://www.fengsh8.com/help/" target="_blank">帮助中心</a></div>
	<div class="footer">&copy;2010 - 2011 <a href="http://www.fengsh8.com/">www.fengsh8.com</a></div>
	</div>
</div>

